/*
 * Part of the ACID Project
 * Developed in 2011 by Morgan Taschuk
 */
package acid.spring;

import acid.spring.db.Experiment;
import acid.spring.db.ExperimentAnalysis;
import acid.spring.db.GeneAlias;
import acid.spring.db.GeneExpressionResult;
import acid.spring.db.Organism;
import acid.spring.db.Tissue;
import java.util.List;

/**
 *
 * @author morgan
 */
public interface GeneExpressionResultService
{

    public abstract int createGeneExpressionResult(GeneAlias geneAlias,
            ExperimentAnalysis experimentAnalysis, Organism organism,
            Tissue tissue, double foldChange, double pVal);

    public abstract List<GeneExpressionResult> queryByGeneAlias(GeneAlias geneAlias);

    public abstract List<GeneExpressionResult> queryByTissue(GeneAlias geneAlias, Tissue tissue);

    public abstract List<GeneExpressionResult> queryByExperiment(GeneAlias geneAlias, Experiment experiment);
}
